<?php
// to change

#/data/p/o/pogadl.sk/sub/zsjuh/web

define("WWW", 'http://www.zsskolska.sk/');
define("PK", '010888290488');
define("NAME", 'Základná škola, Školská  526/53, Handlová');
define("DOMAIN", 'www.zsskolska.sk');
define("ERROR_PAGE", 'chyba');
define("ERROR_LAYOUT_ID", 99999999);

//db settings
define("DB_CONNECTION",'mysql:unix_socket=/tmp/mysql51.sock;dbname=bbyg8azn;host=localhost|bbyg8azn:9froleab');
$GLOBALS['DB_INIT_STATEMENTS'] = array("SET NAMES 'UTF8'");
$GLOBALS['DB_OPTIONS'] = array();

// email settings
define("ADMIN_MAIL", 'juraj@pogadl.sk');
define("CONTACT_MAIL", 'info@zsskolska.sk');
define("CONTACT_USER", "Kontaktný formulár");
define("CONTACT_SUBJECT", "Nový odkaz zo ZSSKOLSKA.SK");
define("ALLOW_EMAIL",true);
$GLOBALS['smtp'] = array(
    'host' => 'imap.websupport.sk',
    'password' => 'zsskolska53',
    'username' => 'info@zsskolska.sk'
);

//path settings
define("FILE",'/data/z/s/zsskolska.sk/');
define("HTDOCS_WEB", '/');
define("HTDOCS_ADMIN", '/');
define("URL_ADMIN", 'http://sprava.zsskolska.sk');
if (defined("IS_ADMIN") && IS_ADMIN == 1){
  define("HTDOCS", HTDOCS_ADMIN); // vzhladom na domenu
  define('INDEX', 'admin_index');
} else {
  define("HTDOCS", HTDOCS_WEB); // vzhladom na domenu
  define('INDEX', 'index');
}

$GLOBALS['multilang'] = 1;
$GLOBALS['defaultLang'] = 'sk'; // must be set in every case
$GLOBALS['langs'] = array('sk','en');

// not change!
define("PATH_TO_LIBRARY", FILE . 'libs/');
define("PATH_TO_SMARTY", PATH_TO_LIBRARY . 'smarty/libs/');
define("PATH_TO_GLOBAL_OBJECTS", FILE . 'global_objects/');
define("PATH_TO_OBJECTS", FILE . 'objects/');
define("PATH_TO_MODULES", FILE . 'modules/');
define("PATH_TO_TEMPLATES", PATH_TO_MODULES);
define("PATH_TO_UPLOADS", FILE . 'web/uploads/');

$GLOBALS['memcache_settings'] = array(
    'server' => 'localhost',
    'port' => 11211
);
?>
